import Vue from 'vue'
import App from './App.vue'
import router from './router.js'
// 引入element
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI);
// 引入compmonent
//import './assets/js/compoent.js';
// 引入bootstrap
import 'bootstrap'
import 'bootstrap/dist/css/bootstrap.min.css'

import global from './assets/js/global.js'
Vue.prototype.GLOBAL = global;
Vue.config.productionTip = false;
// 挂载axios，通过$http,进行调用接口
import axios from 'axios'
Vue.prototype.$http = axios;
new Vue({
  render: h => h(App),
  router
}).$mount('#app');

Vue.filter('dateFormat',global.myFun.dateFormat )
